package Bean;

import java.io.Serializable;
import java.util.List;

public class User implements Serializable{
    private String userId;
    private String userName;
    private boolean sex;
    private String openId;
    private String createTime;
    private String phoneNum;
    private String userImg;
    private String introduct;

    public User() {
    }

    public User(String userId, String userName, boolean sex, String openId, String createTime, String phoneNum, String userImg, String introduct) {
        this.userId = userId;
        this.userName = userName;
        this.sex = sex;
        this.openId = openId;
        this.createTime = createTime;
        this.phoneNum = phoneNum;
        this.userImg = userImg;
        this.introduct = introduct;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", sex=" + sex +
                ", openId='" + openId + '\'' +
                ", createTime='" + createTime + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", userImg='" + userImg + '\'' +
                ", introduct='" + introduct + '\'' +
                '}';
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public String getIntroduct() {
        return introduct;
    }

    public void setIntroduct(String introduct) {
        this.introduct = introduct;
    }
}
